﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="danh-muc-danh-sach.ascx.cs" Inherits="Admin_UserControl_danh_muc_danh_sach" %>

<h1 class="titlePage">
    <span style="padding: 5px 5px 5px 35px; display: inline-block;">Danh sách danh mục</span>
</h1>
<div class="form" style="padding: 10px; width: 98%;">
    <div class="form-row">
        <b>Danh sách danh mục</b>
    </div>
    <div class="form-row">

        <asp:GridView ID="grvDanhMuc" AutoGenerateColumns="False" CssClass="table" runat="server">
            <Columns>
                <asp:BoundField DataField="dm_tieude" HeaderText="Tên danh mục" />
                <asp:BoundField DataField="dm_mota" HeaderText="Mô tả" />
                <asp:BoundField DataField="dm_status" HeaderText="Trạng thái" />
                <asp:TemplateField HeaderText="">
                    <ItemTemplate>
                       <b><a href="?mo=danh-muc-edit&<%=basConst.QR_URL_ID%>=<%#Eval("DM_ID")%>">Sửa</a></b>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
</div>

